home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
FINDI3.DOC
< prev
next >
Wrap
Text File
|
1997-01-12
|
5KB
|
158 lines
******************************
FINDI3 v1.1
(DOS)
search names in KORG files
by Guenter Nagler
1996
(gnagler@ihm.tu-graz.ac.at)
******************************
[1] BACKGROUND
KORG i2/i3 keyboards store can their data on 720KB floppy disks in
files with extensions
*.pcg program data (64 programs + 2 drum kits)
*.sty style data (4 styles)
*.arr arrangement data (64 programs)
*.sng song data (10 songs)
*.bsq backing sequence data (10 backing sequences)
All stored entries have a name (10 characters).
When you have a lot of such files finding certain arrangements
will be not easy because KORG shows the names only after loading
which takes long time.
This utility should help me find names in my Korg files.
[2] FILES DESCRIPTION
FINDI3.EXE..........MSDOS executable for korg i3 name search
FINDI3.DOC..........this file, showing usage of FINDI3.EXE
only FINDI3.EXE is required to run program
[3] COPYRIGHT
FINDI3 (c) 1996 was created by Guenter Nagler.
FINDI3 is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of FINDI3. Thus, you may NOT sell or bundle FINDI3 with any
product in a retail environment (shareware disk distribution, CD-ROM,
etc.) without permission of the author.
You may give FINDI3 to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
FINDI3 was designed to search names in standard KORG i3 files.
Use FINDI3 at your own risk. Anything you do with FINDI3 is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running FINDI3
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using FINDI3, don't use it!
You are here forewarned.
[5] INSTALLATION
Simply copy FINDI3.EXE in a directory that is in your path.
When you start the program without arguments
C:\> FINDI3 -h
you should get the usage text (see next section)
[6] USAGE
findi3 searches names in korg files
usage: findi3 [-h] [-p] [-m filemask] name ...
-h or -? show this usage information
-p pause screen after each page
-m filemask search only in files matching filemask (default: *.*)
name can contain wildcards (*,?)
name is a word or simple regular expression (*, ?).
The search will automatically do substring search (match name if it contains the word).
It is allowed to specify more than one name. FINDI3 searches with logic-OR
(find all entries that match any of the names)
wildcards for search:
* matches 0 or more characters
? matches exactly one character
search is caseinsensitive (upper letters are treated as lower letters).
If no name is specified then * is assumed.
[7] OUTPUT MESSAGES
If no korg files are available or no file matches the filemask specified
with option -m then FINDi3 writes:
No KORG files found
When no name is found in any of the Korg files then
FINDI3 stops with message:
No matching names found.
Otherwise FINDI3 writes following lines:
Name Loc Filename
-------- --- --------
Loc has different format for the file types:
PCG ....... D11-D88 (bank D on KORG i2/i3 contains user programs)
STY ....... U1-U4 (4 user styles on KORG i2/i3)
ARR ....... A11-A88
SNG ....... S0-S9
BSQ ....... BSQ0-BSQ9
Warning: FINDI3 ignores all files that are not KORG type 9 (i2/i3)
and empty *.SNG and *.BSQ files.
[8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[9] EXAMPLES
get a listing of all names in all korg files in current directory
C:\> findi3 > names.txt
The listing will be written to the file names.txt
find all flutes
C:> findi3 -p *fl*t*
Name Loc Filename
-------- --- --------
FluteClar D71 KORG.PCG
Air Flute D44 HIGH.PCG
option -p would stop the listing if the current page is full
the ? would allow variable spelling of flute in different languages
(e.g. flute, floete, ...)
find all names beginning with character a in files high.*
C:\> findi3 -m high.* a
Name Loc Filename
-------- --- --------
AOR Rock A27 HIGH.ARR
AfterHours A62 HIGH.ARR
AfricanJam D37 HIGH.PCG
AltoBreath D41 HIGH.PCG
Air Flute D44 HIGH.PCG
AnaSyn D53 HIGH.PCG
Analogist D56 HIGH.PCG
Aoud D64 HIGH.PCG
[10] CHANGES
v1.0 to v1.1:
* not restrict to files beginning with "KORG9" id (i2/i3)
* ignore default names for usual empty entries